{extend name="$base" /}
{block name="resources"}
<style>
.modal-tab tr:first-child{border-bottom:1px solid #ccc;}
.modal-tab td:first-child{line-height: 50px;text-align:right;width: 25%;}
input[type="text"], input[type="password"], input.text, input.password{margin-top:18px;}
.back-color{
	color: #ffffff;
    padding: 3px 5px;
    border-radius: 15px;
    font-size: 12px;
    margin-left: 10px;
}
.color_1{background: darkcyan;}
.color_2{background: goldenrod;}
.color_3{background: darkcyan;}
.color_4{background: green;}
.color_5{background: red;}
.table-div span.right{
	 margin-left: 10px;
}
.btn_bind{
	background: #00A0DE;
    border-radius: 11px;
    color: #ffffff;
    padding: 3px 8px;
    font-size: 12px;
    margin-right: 5px;
}
.btn_bind:hover{
	color: #ffffff;
}
</style>
{/block}
{block name="main"}
<div class="space-10"></div>
<div class="mod-table">
	<div class="table-div">
		<table>
			<tbody>
				<tr>
					<td class="back-f5f5f5">授权信息</td>
				</tr>
				<tr>
					<td>
						授权状态：{eq name="$devolutioninfo['devolution_status']" value="1"}
						<span class="back-color color_4">已授权</span>{else/}<span class="back-color color_5">未授权</span><a href="http://www.niushop.com.cn/authorization.html" target="_blank" class="btn_bind">去授权</a>{/eq}
					</td>
				</tr>
				<tr>
					<td>
						授权版本：
						<span>{$devolutioninfo.devolution_version}</span>
					</td>
				</tr>
				<tr>
					<td>
						授权域名：
						<span>{$devolutioninfo.devolution_url}</span>
					</td>
				</tr>
				<tr>
					<td>
						到期时间：	
						<span>{$devolutioninfo.devolution_expire_date}</span>
					</td>
				</tr>
				<tr>
					<td>
						当前版本：<span class="back-color color_2">{$niu_version}</span>
					</td>
				</tr>
				<tr>
					<td>
						最新版本：<span class="back-color color_1">V{$latestVersion.data.latest_version}</span>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
</div>

{/block}

{block name="script"}
{/block}